package com.atguigu.gmall.item;


import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author:lyd
 * @Date:2023/8/18 20:01
 * @Version:1.0
 * @Description
 **/
//@Import({CacheServiceImpl.class, BitmapServiceImpl.class, CacheAspect.class})
//@Import(MyCacheAutoConfiguration.class)//这个配置类用来集中管理这个场景下所有的组件
//@EnableGmallCache////这个注解用来集中管理这个场景下所有的组件
@EnableFeignClients(basePackages = {
        "com.atguigu.gmall.feign.product",
        "com.atguigu.gmall.feign.search"})
@SpringCloudApplication
//@EnableAspectJAutoProxy//开启AOP的自动代理
//@Import(GlobalExceptionHandler.class)
//@EnableAutoExceptionHandle
public class ItemMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemMainApplication.class, args);
    }
}
